﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Strom.Core.Config;

namespace Strom.MapEditor
{
    public static class Loader
    {
        public static void Load()
        {
            LoadXmlConfig("config.xml");
            LoadPackets();
        }

        static void LoadXmlConfig(string fileName)
        {
            AutoConfig.ReadConfig(fileName);
        }

        static void LoadPackets()
        {
            Network.Parser.RegisterPackets();
        }
    }
}
